﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Topics_step1.aspx.cs" Inherits="Topics_Topics_step1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server" enctype="multipart/form-data">
    <div class="page_title">专题管理&nbsp; &gt; 添加专题</div>
    <div class="button_bar">
          <asp:Button ID="btnSave" Text="保存->下一步" runat="server" 
              onclick="btnSave_Click" />
    </div>
    <div>
        <table class="query_form_table">
            <tr>
                <th>
                    标题
                </th>
                <td>
                    <asp:TextBox ID="txtTitle" runat="server" Width="324px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="txtTitle" Display="Dynamic" ErrorMessage="非空" 
                        ForeColor="Red"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <th>
                    概要
                </th>
                <td>
                    <asp:TextBox ID="txtSummary" runat="server" TextMode="MultiLine" Height="110px" 
                        Width="296px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="txtSummary" Display="Dynamic" ErrorMessage="非空" 
                        ForeColor="Red"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <th>
                    图片
                </th>
                <td>
                    <asp:FileUpload ID="FileUpload1" runat="server" />
                    <asp:HiddenField ID="hidImageUrl" runat="server" />
                    <asp:Image ID="Image1" runat="server" />
                    <asp:Button ID="btnUpload" runat="server" Text="上传" onclick="btnUpload_Click" />
                </td>
            </tr>
            <tr>
                <th>内容页左上角图片</th>
                <td>
                    <asp:FileUpload ID="FileUpload2" runat="server" />
                    <asp:HiddenField ID="hidImageUrl1" runat="server" />
                    <asp:Image ID="Image2" runat="server" />
                    <asp:Button ID="btnUpload2" runat="server" Text="上传" 
                        onclick="btnUpload2_Click"  />
                </td>
            </tr>
            <tr>
                <th>
                    标题图片
                </th>
                <td>
                     <asp:FileUpload ID="FileUpload3" runat="server" />
                    <asp:HiddenField ID="hidImageUrl3" runat="server" />
                    <asp:Image ID="Image3" runat="server" Height="150px" Width="200px" />
                    <asp:Button ID="Button1" runat="server" Text="上传" onclick="Button1_Click" 
                       />
                </td>
            </tr>
            <tr>
                <td colspan="2">
               
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
